Component org.nuxeo.ecm.platform.commandline.executor.service.soffice
In bundle org.nuxeo.ecm.platform.convert
Contributions
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.commandline.executor.service.soffice">
<require>org.nuxeo.ecm.platform.commandline.executor.service.defaultContrib</require>
<extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent"
point="command">
<command name="soffice" enabled="true">
<commandLine>soffice</commandLine>
<winCommand>soffice.exe</winCommand>
<parameterString>--headless --norestore --writer --convert-to #{format} #{sourceFilePath} --outdir #{outDirPath}
</parameterString>
<testParameterString>--version</testParameterString>
<winTestParameterString>--headless --cat test</winTestParameterString>
<installationDirective>You need to install LibreOffice and add soffice to the PATH environment variable.
</installationDirective>
</command>
</extension>
</component>